package com.cskaoyan.mapper;

import org.apache.ibatis.annotations.Param;
import java.util.Date;

public interface UserMapper {
    int insertUser1(String username, String password, Integer age, Date birthday, Date createDate, String mobile);

    int insertUser2(@Param("username") String username, @Param("password") String password,
                    @Param("age") Integer age, @Param("birthday") Date birthday,
                    @Param("createDate") Date createDate, @Param("mobile") String mobile);

    int updateName(@Param("name") String name, @Param("id") Integer id);

    int deleteByPrimaryKey(@Param("id") Integer id);
}
